import { SidebarItem } from "vocs";

export const opRethCliSidebar: SidebarItem = {
    text: "op-reth",
    link: "/cli/op-reth",
    collapsed: false,
    items: [
        {
            text: "op-reth node",
            link: "/cli/op-reth/node"
        },
        {
            text: "op-reth init",
            link: "/cli/op-reth/init"
        },
        {
            text: "op-reth init-state",
            link: "/cli/op-reth/init-state"
        },
        {
            text: "op-reth import-op",
            link: "/cli/op-reth/import-op"
        },
        {
            text: "op-reth import-receipts-op",
            link: "/cli/op-reth/import-receipts-op"
        },
        {
            text: "op-reth dump-genesis",
            link: "/cli/op-reth/dump-genesis"
        },
        {
            text: "op-reth db",
            link: "/cli/op-reth/db",
            collapsed: true,
            items: [
                {
                    text: "op-reth db stats",
                    link: "/cli/op-reth/db/stats"
                },
                {
                    text: "op-reth db list",
                    link: "/cli/op-reth/db/list"
                },
                {
                    text: "op-reth db checksum",
                    link: "/cli/op-reth/db/checksum"
                },
                {
                    text: "op-reth db diff",
                    link: "/cli/op-reth/db/diff"
                },
                {
                    text: "op-reth db get",
                    link: "/cli/op-reth/db/get",
                    collapsed: true,
                    items: [
                        {
                            text: "op-reth db get mdbx",
                            link: "/cli/op-reth/db/get/mdbx"
                        },
                        {
                            text: "op-reth db get static-file",
                            link: "/cli/op-reth/db/get/static-file"
                        }
                    ]
                },
                {
                    text: "op-reth db drop",
                    link: "/cli/op-reth/db/drop"
                },
                {
                    text: "op-reth db clear",
                    link: "/cli/op-reth/db/clear",
                    collapsed: true,
                    items: [
                        {
                            text: "op-reth db clear mdbx",
                            link: "/cli/op-reth/db/clear/mdbx"
                        },
                        {
                            text: "op-reth db clear static-file",
                            link: "/cli/op-reth/db/clear/static-file"
                        }
                    ]
                },
                {
                    text: "op-reth db repair-trie",
                    link: "/cli/op-reth/db/repair-trie"
                },
                {
                    text: "op-reth db static-file-header",
                    link: "/cli/op-reth/db/static-file-header",
                    collapsed: true,
                    items: [
                        {
                            text: "op-reth db static-file-header block",
                            link: "/cli/op-reth/db/static-file-header/block"
                        },
                        {
                            text: "op-reth db static-file-header path",
                            link: "/cli/op-reth/db/static-file-header/path"
                        }
                    ]
                },
                {
                    text: "op-reth db version",
                    link: "/cli/op-reth/db/version"
                },
                {
                    text: "op-reth db path",
                    link: "/cli/op-reth/db/path"
                },
                {
                    text: "op-reth db settings",
                    link: "/cli/op-reth/db/settings",
                    collapsed: true,
                    items: [
                        {
                            text: "op-reth db settings get",
                            link: "/cli/op-reth/db/settings/get"
                        },
                        {
                            text: "op-reth db settings set",
                            link: "/cli/op-reth/db/settings/set",
                            collapsed: true,
                            items: [
                                {
                                    text: "op-reth db settings set receipts_in_static_files",
                                    link: "/cli/op-reth/db/settings/set/receipts_in_static_files"
                                },
                                {
                                    text: "op-reth db settings set transaction_senders_in_static_files",
                                    link: "/cli/op-reth/db/settings/set/transaction_senders_in_static_files"
                                }
                            ]
                        }
                    ]
                },
                {
                    text: "op-reth db account-storage",
                    link: "/cli/op-reth/db/account-storage"
                }
            ]
        },
        {
            text: "op-reth stage",
            link: "/cli/op-reth/stage",
            collapsed: true,
            items: [
                {
                    text: "op-reth stage run",
                    link: "/cli/op-reth/stage/run"
                },
                {
                    text: "op-reth stage drop",
                    link: "/cli/op-reth/stage/drop"
                },
                {
                    text: "op-reth stage dump",
                    link: "/cli/op-reth/stage/dump",
                    collapsed: true,
                    items: [
                        {
                            text: "op-reth stage dump execution",
                            link: "/cli/op-reth/stage/dump/execution"
                        },
                        {
                            text: "op-reth stage dump storage-hashing",
                            link: "/cli/op-reth/stage/dump/storage-hashing"
                        },
                        {
                            text: "op-reth stage dump account-hashing",
                            link: "/cli/op-reth/stage/dump/account-hashing"
                        },
                        {
                            text: "op-reth stage dump merkle",
                            link: "/cli/op-reth/stage/dump/merkle"
                        }
                    ]
                },
                {
                    text: "op-reth stage unwind",
                    link: "/cli/op-reth/stage/unwind",
                    collapsed: true,
                    items: [
                        {
                            text: "op-reth stage unwind to-block",
                            link: "/cli/op-reth/stage/unwind/to-block"
                        },
                        {
                            text: "op-reth stage unwind num-blocks",
                            link: "/cli/op-reth/stage/unwind/num-blocks"
                        }
                    ]
                }
            ]
        },
        {
            text: "op-reth p2p",
            link: "/cli/op-reth/p2p",
            collapsed: true,
            items: [
                {
                    text: "op-reth p2p header",
                    link: "/cli/op-reth/p2p/header"
                },
                {
                    text: "op-reth p2p body",
                    link: "/cli/op-reth/p2p/body"
                },
                {
                    text: "op-reth p2p rlpx",
                    link: "/cli/op-reth/p2p/rlpx",
                    collapsed: true,
                    items: [
                        {
                            text: "op-reth p2p rlpx ping",
                            link: "/cli/op-reth/p2p/rlpx/ping"
                        }
                    ]
                },
                {
                    text: "op-reth p2p bootnode",
                    link: "/cli/op-reth/p2p/bootnode"
                }
            ]
        },
        {
            text: "op-reth config",
            link: "/cli/op-reth/config"
        },
        {
            text: "op-reth prune",
            link: "/cli/op-reth/prune"
        },
        {
            text: "op-reth re-execute",
            link: "/cli/op-reth/re-execute"
        }
    ]
};
